package com.ruoyi.project.system.service;

import com.ruoyi.project.system.domain.SysCheck;
import com.ruoyi.project.system.mapper.SysCheckMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface SysCheckService {
    public List<SysCheck> selectAllCheck();

    public List<SysCheck> selectCheckList(SysCheck check);

    /*新增检查信息*/
    public int insertCheck(SysCheck check);
    /*删除检查信息*/
    public int deleteCheck(Long checkItemID);
    /*批量删除检查信息*/
    public int deleteCheck(Long[] checkItemIDs);
    /*修改检查信息*/
    public int updateCheck(SysCheck check);
    /*校验检查名称唯一性*/
    public SysCheck checkCheckNameUnique(String checkItemName);
    /*校验关键字唯一性*/
    public SysCheck checkKeywordsUnique(String keywords);
}
